<template>
  <div class="about">
    <el-container>
      <el-header>
        <h2>后台高级管理系统</h2>
        <el-button @click="tui">退出登录</el-button>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <!-- 导航 -->
          <NAV />
        </el-aside>
        <el-main>
          <router-view></router-view>
        </el-main>
      </el-container>
    </el-container>


  </div>
</template>



<script>
import NAV from "../components/NAV";
export default {
  components: {
    NAV,
  },
  methods: {
    tui() {
      localStorage.removeItem("adminToken");
      window.location.reload();
    },
  },
};
</script>

<style lang="scss" scoped>
@import url("../assets/css/element.css");
.el-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  // font-family: "华文行楷";
  // text-shadow: 5px 5px 5px #000000;
  color: #fff;
  img {
    height: 90%;
  }
}



</style>